﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RCSP.Common.Configurations
{
    /// <summary>
    /// Mapping configuration interface
    /// </summary>
    public interface IMappingConfiguration 
    {
        /// <summary>
        /// Gets entity mapping for specified type
        /// </summary>
        /// <typeparam name="T">Type of entity</typeparam>
        EntityMapping GetEntityMapping<T>();

        /// <summary>
        /// Checks if mapping configuration is defined for specified type
        /// </summary>
        /// <typeparam name="T">Type of entity</typeparam>
        bool CheckIsEntityMappingDefined<T>();
    }
}
